package org.lim.lcpicturebackend.controller;


import org.lim.lcpicturebackend.common.BaseResponse;
import org.lim.lcpicturebackend.common.ResultUtils;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.bind.annotation.RestControllerAdvice;

@RestController
@RequestMapping("/")
public class MainController {

    @GetMapping("health")
    public BaseResponse<String> health()
    {
        return ResultUtils.success("ok");
    }
}
